﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Common;
using DataAccess;

namespace Login
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click_1(object sender, EventArgs e)
        {
            Encryption enc = new Encryption();
            string str = enc.EncryptTripleDES(textBox1.Text, textBox2.Text);
            MessageBox.Show("Your Token is : " + str + "\n Please Make you save it since you need it if any product fault might occur");
        }
    }
}
